<!--{if ($_G['forum']['threadtypes'] && $_G['forum']['threadtypes']['listable']) || $_G['forum']['threadsorts']}-->
	<ul id="thread_types" class="ttp bm cl">
		<li id="ttp_all" {if !$_G['gp_typeid'] && !$_G['gp_sortid']}class="xw1 a"{/if}><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['forum']['threadsorts']['defaultshow']}&filter=sortall&sortall=1{/if}{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang forum_viewall}</a></li>
		<!--{if $_G['forum']['threadtypes']}-->
			<!--{loop $_G['forum']['threadtypes']['types'] $id $name}-->
				<!--{if $_G['gp_typeid'] == $id}-->
				<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['gp_sortid']}&filter=sortid&sortid=$_G['gp_sortid']{/if}{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name</a></li>
				<!--{else}-->
				<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=typeid&typeid=$id$forumdisplayadd[typeid]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}"><!--{if $_G[forum][threadtypes][icons][$id] && $_G['forum']['threadtypes']['prefix'] == 2}--><img class="vm" src="$_G[forum][threadtypes][icons][$id]" alt="" /> <!--{/if}-->$name</a></li>
				<!--{/if}-->
			<!--{/loop}-->
		<!--{/if}-->
		<!--{if $_G['forum']['threadsorts']}-->
			<!--{if $_G['forum']['threadtypes']}--><li><span class="pipe">|</span></li><!--{/if}-->
			<!--{loop $_G['forum']['threadsorts']['types'] $id $name}-->
				<!--{if $_G['gp_sortid'] == $id}-->
				<li class="xw1 a"><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['gp_typeid']}&filter=typeid&typeid=$_G['gp_typeid']{/if}{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">$name</a></li>
				<!--{else}-->
				<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=sortid&sortid=$id$forumdisplayadd[sortid]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">$name</a></li>
				<!--{/if}-->
			<!--{/loop}-->
		<!--{/if}-->
		<!--{hook/forumdisplay_filter_extra}-->
	</ul>
	<script type="text/javascript">showTypes('thread_types');</script>
<!--{/if}-->
<!--
Show topic of forum
Display list
-->
<!--<div id="threadlist" class="tl bm bmw woound not-pad"{if $_G['uid']} style="position: relative;"{/if}>-->
<div id="threadlist" class="tl bm not-pad"{if $_G['uid']} style="position: relative;"{/if}>
	<!--{if $quicksearchlist && !$_G['gp_archiveid']}-->
		<!--{subtemplate forum/search_sortoption}-->
	<!--{/if}-->
	<div class="th tgao">
		<div class="item-ao1 clearfix">
			<div class="woo-mar-lever-item clearfix">
				<div colspan="{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}3{else}2{/if}">
					<div class="tf woo-item-tab">
						{lang screening}:
						<a id="filter_special" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)">
							<!--{if $_G['gp_specialtype'] == 'poll'}-->
                            {lang thread_poll}
                            <!--{elseif $_G['gp_specialtype'] == 'trade'}-->
                            {lang thread_trade}
                            <!--{elseif $_G['gp_specialtype'] == 'reward'}-->
                            {lang thread_reward}
                            <!--{elseif $_G['gp_specialtype'] == 'activity'}-->
                            {lang thread_activity}
                            <!--{elseif $_G['gp_specialtype'] == 'debate'}-->
                            {lang thread_debate}
                            <!--{else}-->
                            {lang threads_all}
                            <!--{/if}-->
						</a>
						<a id="filter_dateline" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)">
							<!--{if $_G['gp_dateline'] == 86400}-->
                            {lang last_1_days}
                            <!--{elseif $_G['gp_dateline'] == 172800}-->
                            {lang last_2_days}
                            <!--{elseif $_G['gp_dateline'] == 604800}-->
                            {lang list_one_week}
                            <!--{elseif $_G['gp_dateline'] == 2592000}-->
                            {lang list_one_month}
                            <!--{elseif $_G['gp_dateline'] == 7948800}-->
                            {lang list_three_month}
                            <!--{else}-->
                            {lang search_any_date}
                            <!--{/if}-->
						</a>
						{lang orderby}:
						<a id="filter_orderby" href="javascript:;" class="showmenu xi2" onclick="showMenu(this.id)">
							<!--{if $_G['gp_orderby'] == 'dateline'}-->
                            {lang list_post_time}
                            <!--{elseif $_G['gp_orderby'] == 'replies'}-->
                            {lang replies}
                            <!--{elseif $_G['gp_orderby'] == 'views'}-->
                            {lang views}
                            <!--{elseif $_G['gp_orderby'] == 'lastpost'}-->
                            {lang lastpost}
                            <!--{elseif $_G['gp_orderby'] == 'heats'}-->
                            {lang order_heats}
                            <!--{else}-->
                            {lang list_default_sort}
                            <!--{/if}-->
						</a>
                        <span class="pipe">|</span>
                            <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=digest&digest=1$forumdisplayadd[digest]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}" class="xi2">
                            {lang digest_posts}
                        </a>
                        <!--{if !empty($_G[setting][recommendthread][status])}-->
                        <span class="pipe">|</span>
                            <a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=recommend&orderby=recommends&recommend=1$forumdisplayadd[recommend]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}" class="xi2">
                            {lang order_recommends}
                        </a>
                        <!--{/if}-->
						<!--{if empty($_G['forum']['picstyle']) && $_G['gp_orderby'] == 'lastpost' && (!$_G['setting']['forumseparator'] || !$separatepos) && !$_G['gp_filter']}-->
                        <span class="pipe">|</span>
                            <a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh"></a>
                        <!--{/if}-->
                        <span class="pipe">|</span>
                        <span id="atarget" style="position:absolute; right:10px; top:8px; *top:6px;" {if !empty($_G['cookie']['atarget'])} onclick="setatarget(0)" class="atarget_1" {else} onclick="setatarget(1)" class="" {/if} title="{lang new_window_thread}">{lang new_window}</span>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="clearfix">
		<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
			<script type="text/javascript">var lasttime = $_G['timestamp'];</script>
		<!--{/if}-->
		<div id="forumnew"></div>
		<form method="post" autocomplete="off" name="moderate" id="moderate" action="forum.php?mod=topicadmin&action=moderate&fid=$_G[fid]&infloat=yes&nopost=yes">
			<input type="hidden" name="formhash" value="{FORMHASH}" />
			<input type="hidden" name="listextra" value="$extra" />
            <div summary="forum_$_G[fid]" {if !$separatepos}id="forum_$_G[fid]"{/if} cellspacing="0" cellpadding="0">
                <!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
                <div class="content2-item cl">
                            <span class="icn z box2-dk1"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></span>
                            <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
                            <span class="o">&nbsp;</span>
                            <!--{/if}-->
                            <strong class="xst" style="color:red;">
                            	{lang announcement}: 
                                <!--{if empty($announcement['type'])}-->
                                <a href="forum.php?mod=announcement&id=$announcement[id]#$announcement[id]" target="_blank" style="color:#666;">
                                    $announcement[subject]
                                </a>
                                <!--{else}-->
                                <a href="$announcement[message]" target="_blank" style="color:#666;">$announcement[subject]</a>
                                <!--{/if}-->
                            </strong>
                    </ul>                            
                </div>
				<!--{/if}-->
				<!--{if !$separatepos}-->
					<div id="separatorline" class="emptb">
                    	<div>
                        	<div class="icn"></div>
                            <!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
                            <div class="o"></div>
                            <!--{/if}-->
                            <div colspan="3"></div>
                            <div class="by"></div>
                            <div class="num"></div>
                            <div class="by"></div>
                        </div>
                     </div>
				<!--{/if}-->
				<!--{if $_G['forum_threadcount']}-->
					<!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
						<!--{loop $_G['forum_threadlist'] $key $thread}-->
							<!--{if $_G[setting][forumseparator] == 1 && $separatepos == $key + 1}-->
                                <div id="separatorline" style="margin:5px; border:1px solid #dfdfdf; border-radius: 3px 3px 3px 3px;">
                                    <div class="ts">
                                        <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
                                        <!--{else}-->
                                        <!--{/if}-->
                                        <div>
                                        <!--{if empty($_G['forum']['picstyle']) && $_G['gp_orderby'] == 'lastpost' && !$_G['gp_filter']}-->
                                        <a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh">
                                        {lang forum_thread}
                                        </a>
                                        <!--{else}-->&nbsp;<!--{/if}-->
                                        </div>
                                    </div>
                                </div>
							<!--{/if}-->
							<!--{if $separatepos <= $key + 1}-->
								<!--{ad/threadlist}-->
							<!--{/if}-->
							<div id="$thread[id]" class="cl">
								<div class="woo-mar-lever">
									<div colspan="3" class="$thread[folder] w-td cl mbn">
										<!--{hook/forumdisplay_thread $key}-->
										<!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
												<!--{eval $thread[tid]=$thread[closed];}-->
										<!--{/if}-->
										$thread[typehtml] $thread[sorthtml]
										<!--{if $thread['moved']}-->
											{lang thread_moved}:<!--{eval $thread[tid]=$thread[closed];}-->
										<!--{/if}-->
                                        
                                        <!-- Author: Pham Hung Cuong-->
                                        <!--{if $thread['listb']}-->
                                        <span class="w-category-leve">
                                        	<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="xst">
                                            <!--{if $thread['picatt']}-->
                                                    <!--{eval $keypic = rawurlencode(md5($thread['tid'].'|100|100'))}-->
                                                    <img src="forum.php?mod=image&aid=$thread['picatt']&size=100x100&key=$keypic&atid=$thread['tid']" />
                                            <!--{elseif $thread['picurl']}-->
                                                	<img src="$thread['picurl']" />   
                                            <!--{else}-->
                                                <!--{if $thread['author']}-->  
                                                    <!--{avatar($thread[authorid],middle)}-->
                                                <!--{else}--> 
                                                	<img src="{IMGDIR}/frame_avatar.gif" alt="$_G[setting][anonymoustext]" title="$_G[setting][anonymoustext]" />
                                                <!--{/if}-->
                                            <!--{/if}-->
                                            </a>
                                            </span>
                                            <!--{/if}-->
                                            <!-- /Author: Pham Hung Cuong-->
                                        <h2 class="woo-category-leve">
                                            <a href="forum.php?mod=viewthread&tid=$thread[icontid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra" title="{if $thread['displayorder'] == 1}{lang thread_type1}-{/if}{if $thread['displayorder'] == 2}{lang thread_type2}-{/if}{if $thread['displayorder'] == 3}{lang thread_type3}-{/if}{if $thread['displayorder'] == 4}{lang thread_type4}-{/if}{if $thread[folder] == 'lock'}{lang closed_thread}-{/if}{if $thread['special'] == 1}{lang thread_poll}-{/if}{if $thread['special'] == 2}{lang thread_trade}-{/if}{if $thread['special'] == 3}{lang thread_reward}-{/if}{if $thread['special'] == 4}{lang thread_activity}-{/if}{if $thread['special'] == 5}{lang thread_debate}-{/if}{if $thread[folder] == "new"}{lang have_newreplies}-{/if}{lang target_blank}" target="_blank" class="no-decoration">
                                            <!--{if $thread[folder] == 'lock'}-->
                                                <img src="{IMGDIR}/folder_lock.gif" />
                                            <!--{elseif $thread['special'] == 1}-->
                                                <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
                                            <!--{elseif $thread['special'] == 2}-->
                                                <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
                                            <!--{elseif $thread['special'] == 3}-->
                                                <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
                                            <!--{elseif $thread['special'] == 4}-->
                                                <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
                                            <!--{elseif $thread['special'] == 5}-->
                                                <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
                                            <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
                                                <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
                                            <!--{else}-->
                                                <img src="{IMGDIR}/folder_$thread[folder].gif" />
                                            <!--{/if}-->
                                            </a>
                                            
                                            <!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
                                                <!--{if $thread['fid'] == $_G[fid]}-->
                                                    <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
                                                        <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
                                                    <!--{else}-->
                                                        <input type="checkbox" disabled="disabled" />
                                                    <!--{/if}-->
                                                <!--{else}-->
                                                    <input type="checkbox" disabled="disabled" />
                                                <!--{/if}-->
                                            <!--{/if}-->
                                            <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="xst">$thread[subject]</a>
                                        
                                        <!--{if $thread[icon] >= 0}-->
											<img src="{STATICURL}image/stamp/{$_G[cache][stamps][$thread[icon]][url]}" alt="{$_G[cache][stamps][$thread[icon]][text]}" align="absmiddle" />
										<!--{/if}-->
										<!--{if $stemplate && $sortid}-->$stemplate[$sortid][$thread[tid]]<!--{/if}-->
										<!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
										<!--{if $thread['price'] > 0}-->
											<!--{if $thread['special'] == '3'}-->
											- <span class="xi1">[{lang thread_reward} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span>
											<!--{else}-->
											- [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
											<!--{/if}-->
										<!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
											- [{lang reward_solved}]
										<!--{/if}-->
										<!--{if $thread['attachment'] == 2}-->
											<img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
										<!--{elseif $thread['attachment'] == 1}-->
											<img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
										<!--{/if}-->
										<!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
											<img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
										<!--{/if}-->
										<!--{if $thread['displayorder'] == 0}-->
											<!--{if $thread[recommendicon] && $filter != 'recommend'}-->
												<img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
											<!--{/if}-->
											<!--{if $thread[heatlevel]}-->
												<img src="{IMGDIR}/hot_$thread[heatlevel].gif" align="absmiddle" alt="heatlevel" title="$thread[heatlevel] {lang heats}" />
											<!--{/if}-->
											<!--{if $thread['rate'] > 0}-->
												<img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
											<!--{elseif $thread['rate'] < 0}-->
												<img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
											<!--{/if}-->
										<!--{/if}-->
										<!--{if $thread['replycredit'] > 0}-->
											- <span class="xi1">[{lang replycredit} <strong> $thread['replycredit']</strong> ]</span>
										<!--{/if}-->
										<!--{if $thread[multipage]}-->
											<span class="tps">$thread[multipage]</span>
										<!--{/if}-->
										<!--{if $thread['weeknew']}-->
											<a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost" class="xi1"><img src="{IMGDIR}/new.gif" title="$thread[subject]" align="absmiddle" /></a>
										<!--{/if}-->
										<!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
											<!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
												<!--{eval $thread[tid]=$thread[closed];}-->
											<!--{/if}-->
											<!--{if $groupnames[$thread[tid]]}-->
												<span class="fromg xg1"> [{lang from}: <a href="forum.php?mod=forumdisplay&fid={$groupnames[$thread[tid]][fid]}" class="xg1">{$groupnames[$thread[tid]][name]}</a>]</span>
											<!--{/if}-->
										<!--{/if}-->
										</h2>
                                        <div class="author_date">
                                            <ul class="clearfix">
                                                <li class="width-box-author">
                                                    <span class="name-author" title="Tác giả: $thread['author']">
                                                        <!--{if $thread['author']}-->
                                                            <a href="home.php?mod=space&uid=$thread[authorid]" title="{if $thread['author']}$thread['author']{else}$_G[setting][anonymoustext]{/if}" c="1">$thread['author']</a>
                                                        <!--{else}-->
                                                            $_G[setting][anonymoustext]
                                                        <!--{/if}-->
                                                    </span> 
                                                </li> 
                                                <li class="author-datime" title="Ngày đăng bài" {if $list_b['istoday']} {/if}>$thread[dateline]</li>
                                            </ul>
                                        </div>  
                                        <span class="category-new">
                                        $thread[message]
                                        <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="xst" class="xi2" title="$list_b[subject]">{lang more_details}</a>
                                        </span>
                                        
									</div>
                                    <div class="clearfix">
                                        <div class="thong-ke y clearfix">
                                            <ul class="y">
                                                <!--{if intval($thread[views]) >= 1}-->
                                                <li class="lever-c red_forum" title="Số lượt xem">
                                                <em title="Số lượt xem">
                                                <!--{if $thread['isgroup'] != 1}-->$thread[views] {lang number_view}<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}-->
                                                </em>                                                
                                                </li>
                                                <!--{else}-->
                                                <li class="lever-c" title="Số lượt xem">
                                                <em title="Số lượt xem lev_class">
                                                <!--{if $thread['isgroup'] != 1}--> $thread[views] {lang number_view}<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}-->
                                                </em>                                                
                                                </li>
                                                <!--{/if}-->
                                                
                                                <!--{if intval($thread[replies]) >= 1}-->
                                                <li class="lever-b red_forum">
                                                    <span  title="Số bình luận">$thread[replies] {lang number_comment}</span>
                                                </li>   
                                                <!--{else}-->
                                                <li class="lever-b">
                                                    <span  title="Số bình luận">$thread[replies] {lang number_comment}</span>
                                                </li>   
                                                <!--{/if}-->
                                        
                                                <li class="lev_class" title="Lần cuối bởi: $thread[lastposter]">
                                                	<!--{if $thread['lastposter']}-->
                                                    -
                                                    <a {if $thread[digest] != -2}href="home.php?mod=space&username=$thread[lastposterenc]" c="1"{else} href="forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}"{/if} >
                                                        $thread[lastposter]
                                                    </a>
                                                    <!--{else}-->
                                                    $_G[setting][anonymoustext]
                                                    <!--{/if}-->

                                                </li><!--name-author-->                                                        
                                                <li class="lev_class" {if $list_b['istoday']} {/if} title="Lần cuối bởi: $thread[lastposter]">
                                                	$thread[lastpost]
                                                </li>
                                        
                                                
                                            </ul>
                                        </div><!--thong-ke-->
                                    </div>
								</div>
							</div>
                            <!--{/loop}-->
						</div><!-- end of table "forum_G[fid]" branch 1/3 -->
					<!--{else}-->
                    </div>
                    <!-- end of table "forum_G[fid]" branch 2/3 -->
							<!--{loop $_G['forum_threadlist'] $key $thread}-->
							<!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
								<!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
									<!--{eval $thread[tid]=$thread[closed];}-->
								<!--{/if}-->
							<!--{/if}-->
							<div class="li_listf">
								<!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
									<div style="position: absolute;padding:2px;background:#FFF">
									<!--{if $thread['fid'] == $_G[fid]}-->
										<!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
											<input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
										<!--{else}-->
											<input type="checkbox" disabled="disabled" />
										<!--{/if}-->
									<!--{else}-->
										<input type="checkbox" disabled="disabled" />
									<!--{/if}-->
									</div>
								<!--{/if}-->
								<div class="c cl">
                                	<div class="img_bxl">
									<a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra" {if $thread['isgroup'] == 1 || $thread['forumstick']} {else} onclick="atarget(this)"{/if} title="$thread[subject]" class="z">
										<!--{if $thread['picurl']}-->
											<img src="$thread[picurl]" alt="$thread[subject]" width="175px" />
                                        <!--{elseif $thread['picatt']}-->
                                            <!--{eval $keypic = rawurlencode(md5($thread['tid'].'|180|180'))}-->
                                            <img src="forum.php?mod=image&aid=$thread['picatt']&size=180x180&key=$keypic&atid=$thread['tid']" width="175px" alt="$thread[subject]" title="$thread[subject]" />
										<!--{else}-->
                                            <!--{if $thread['author']}-->  
                                               <!--{avatar($thread[authorid],big)}-->
                                            <!--{else}--> 
                                               <img src="{IMGDIR}/frame_avatar.gif" alt="$_G[setting][anonymoustext]" width="175px" title="$_G[setting][anonymoustext]" />
                                            <!--{/if}-->
                                        <!--{/if}-->
									</a>
                                    </div>
								</div>
								<div class="btl_film"><a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} {else} onclick="atarget(this)"{/if} title="$thread[message]"><h4><!--{if in_array($thread['displayorder'], array(1, 2, 3, 4))}-->[{lang thread_stick}] <!--{/if}-->$thread[subject]</h4></a></div>
								<div class="cl inline xg1">
                                    <!--{if $thread['authorid'] && $thread['author']}-->
                                    <a href="home.php?mod=space&uid=$thread[authorid]" c="1">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
                                <!--{else}-->
                                    $_G[setting][anonymoustext]
                                <!--{/if}--> - $thread[dateline]
                                    <span class="y tar"><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2" title="$thread[replies] {lang reply}">$thread[replies]</a> / <em title="{if $thread['isgroup'] != 1}$thread[views]{else}{$groupnames[$thread[tid]][views]}{/if} {lang show}"><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></em>
                                    </span>
								</div>
							</div>
							<!--{/loop}-->
					<!--{/if}-->
				<!--{else}-->
						<tbody class="bw0_all"><tr><th colspan="{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}"><p class="emp">{lang forum_nothreads}</p></th></tr></tbody>
					</table><!-- end of table "forum_G[fid]" branch 3/3 -->
				<!--{/if}-->
			<!--{if $_G['forum']['ismoderator'] && $_G['forum_threadcount']}-->
				<!--{template forum/topicadmin_modlayer}-->
			<!--{/if}-->
		</form>
	</div>
</div>
<!-- End display list -->

<!--{if !IS_ROBOT}-->
	<div id="filter_special_menu" class="p_pop" style="display:none" change="location.href='forum.php?mod=forumdisplay&fid=$_G[fid]&filter='+$('filter_special').value">
		<ul>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang threads_all}</a></li>
			<!--{if $showpoll}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=poll$forumdisplayadd[specialtype]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang thread_poll}</a></li><!--{/if}-->
			<!--{if $showtrade}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=trade$forumdisplayadd[specialtype]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang thread_trade}</a></li><!--{/if}-->
			<!--{if $showreward}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=reward$forumdisplayadd[specialtype]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang thread_reward}</a></li><!--{/if}-->
			<!--{if $showactivity}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=activity$forumdisplayadd[specialtype]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang thread_activity}</a></li><!--{/if}-->
			<!--{if $showdebate}--><li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=specialtype&specialtype=debate$forumdisplayadd[specialtype]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang thread_debate}</a></li><!--{/if}-->
		</ul>
	</div>
	<div id="filter_dateline_menu" class="p_pop" style="display:none">
		<ul>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_G['gp_orderby']}&filter=dateline$forumdisplayadd[dateline]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang search_any_date}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_G['gp_orderby']}&filter=dateline&dateline=86400$forumdisplayadd[dateline]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang last_1_days}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_G['gp_orderby']}&filter=dateline&dateline=172800$forumdisplayadd[dateline]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang last_2_days}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_G['gp_orderby']}&filter=dateline&dateline=604800$forumdisplayadd[dateline]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang list_one_week}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_G['gp_orderby']}&filter=dateline&dateline=2592000$forumdisplayadd[dateline]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang list_one_month}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&orderby={$_G['gp_orderby']}&filter=dateline&dateline=7948800$forumdisplayadd[dateline]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang list_three_month}</a></li>
		</ul>
	</div>
	<div id="filter_orderby_menu" class="p_pop" style="display:none">
		<ul>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang list_default_sort}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=author&orderby=dateline$forumdisplayadd[author]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang list_post_time}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=replies$forumdisplayadd[reply]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang replies}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=reply&orderby=views$forumdisplayadd[view]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang views}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=lastpost&orderby=lastpost$forumdisplayadd[lastpost]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang lastpost}</a></li>
			<li><a href="forum.php?mod=forumdisplay&fid=$_G[fid]&filter=heat&orderby=heats$forumdisplayadd[heat]{if $_G['gp_archiveid']}&archiveid={$_G['gp_archiveid']}{/if}">{lang order_heats}</a></li>
		<ul>
	</div>
<!--{/if}-->

<div class="bm bw0 pgs cl" style="padding:10px;">
	$multipage
	<span {if $_G[setting][visitedforums]}id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})"{/if} class="pgb y"><a href="forum.php">{lang return_index}</a></span>
	<!--{if !$_G['gp_archiveid']}--><a href="javascript:;" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})" title="{lang send_posts}"><img src="{IMGDIR}/pn_post.png" alt="{lang send_posts}" /></a><!--{/if}-->
	<!--{hook/forumdisplay_postbutton_bottom}-->
</div>